//
//  ZXNotworkTool.swift
//  ZXWeibo
//
//  Created by mac on 15/11/26.
//  Copyright © 2015年 itcast. All rights reserved.
//

import UIKit

import AFNetworking

/// 网络单例
class ZXNotworkTool: AFHTTPSessionManager
{
    //创建网络单例
    static let sharedInstance: ZXNotworkTool =
    {
        
        let beseUrl = NSURL(string: "https://api.weibo.com/")
       let tool = ZXNotworkTool(baseURL: beseUrl)
        
        return tool
        
    }()
    
}
